﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 考试编程题
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.jsonParse(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false)]
    [fastCSharp.code.cSharp.webView.clientType(Name = "diantou.examProblem")]
    [fastCSharp.code.cSharp.sqlModel(LogTcpCallService = "ExamDataLog")]
    public partial class examProblem : problemBase
    {
        /// <summary>
        /// 原始题目标识
        /// </summary>
        public int ProblemId;
        /// <summary>
        /// 独占企业用户标识
        /// </summary>
        public int EnterpriseId;
        /// <summary>
        /// 是否企业独占
        /// </summary>
        public bool IsPrivate;

        /// <summary>
        /// 选用数量
        /// </summary>
        [fastCSharp.emit.dataMember(IsIgnoreCurrent = true, IsSqlStream = true)]
        public int UsedCount;
        /// <summary>
        /// 话题数量
        /// </summary>
        [fastCSharp.emit.dataMember(IsIgnoreCurrent = true, IsSqlStream = true)]
        public int TopicCount;
        /// <summary>
        /// 自动生成考卷难度
        /// </summary>
        public enum autoPaperGroup
        {
            简单,
            普通,
            较难
        }
    }
}
